﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Core.Account;

namespace MvcEngine.Core.Helpers
{
    public interface IPermissionHelper
    {
        bool HasRights(User user, int pageContentId, string key);
        bool HasRights(int pageContentId, string key);

        bool HasRights(User user, Guid pageId, string key);
        bool HasRights(Guid pageId, string key);
    }
}
